/**
 * @file customized_struct.h
 * @author your name (you@domain.com)
 * @brief 自定义结构体
 * @version 0.1
 * @date 2022-2-16
 * 
 * @copyright Copyright (c) 2022
 * 
 */
#ifndef CUSTOMIZED_STRUCT_H
#define CUSTOMIZED_STRUCT_H
#define OBJ_NAME_MAX_SIZE 16
#define OBJ_NUMB_MAX_SIZE 64
#define OBJ_CLASS_NUM     4
#define PROP_BOX_SIZE     (5+OBJ_CLASS_NUM)

typedef struct _BOX_RECT
{
    int left;
    int right;
    int top;
    int bottom;
    int classId;
} BOX_RECT;

typedef struct __detect_result_t
{
    char name[OBJ_NAME_MAX_SIZE];
    BOX_RECT box;
    float prop;
} detect_result_t;

typedef struct _detect_result_group_t
{
    int id;
    int count;
    detect_result_t results[OBJ_NUMB_MAX_SIZE];
} detect_result_group_t;

#endif